<?php
/**
 * @author Charles EDOU NZE <charlesen@live.fr>
 * @copyright Copyright 2011, Charles EDOU NZE
 * @version 1.0
 */
//Caching des données
Header("Cache-Control: must-revalidate");
$offset = 60; //1 minute de caching -- 60 * 60 * 24 * 3;
$ExpStr = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT";
Header($ExpStr);

header('Content-Type: text/html');//header('Content-Type: application/vnd.wap.xhtml+xml');//Type MIME
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?> \n";
?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
    "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
    <head>
        <title>Projet WAP</title>
        <style type="text/css">
            @import "<?php echo $base; ?>/css/style.css";
        </style>
        <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
        <meta http-equiv="Cache-Control" content="max-age=120"/>
        <link rel="shortcut icon" type="image/x-icon" href="<?php echo $base; ?>/images/favicon.ico" />
        <link rel="describedby" href="<?php echo $base; ?>/powder.xml" type="application/powder+xml"/>
    </head>
    <body id="cb">
        <div class="canvas">
                <div>
                    <div id="header">
                        <a href="<?php echo $base ?>"><img src="<?php echo $base ?>/images/logo.jpg" alt="Logo à mettre ici" title="Logo à mettre ici" width="48" height="48"/></a>
                    </div>
                </div> <!-- Entete de page -->